package com.weifangfirecontrolformal.weifangfirecontrolformal.web.service.internetofthings.firefightingiot;

import cn.hutool.json.JSONObject;
import com.weifangfirecontrolformal.weifangfirecontrolformal.common.base.BaseService;
import com.weifangfirecontrolformal.weifangfirecontrolformal.support.model.RespEntity;
import com.weifangfirecontrolformal.weifangfirecontrolformal.support.utils.requestutil.HttpRequestUtil;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @author xulumin
 * @date 2024/3/26 17:04
 * Description: 一企一档大屏终端报警
 */

@Service
@Slf4j
public class EnterpriseService extends BaseService {
    public RespEntity getAreaDeviceInfo(JSONObject jsonObject) {
        jsonObject = HttpRequestUtil.commonHttpRequestParamConvert(getRequest());
        return fireFightingiotJava(jsonObject,"getAreaDeviceInfo","alarmInfo");
    }

}
